package com.swjd.sbm.service.impl;

import com.swjd.sbm.commons.ServiceException;
import com.swjd.sbm.dao.Api_chepaiMapper;
import com.swjd.sbm.entity.Api_chepai;
import com.swjd.sbm.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class UserServicveImpl implements UserService {

    @Autowired
    private Api_chepaiMapper api_chepaiMapper;

    @Override
    public  Api_chepai selectOne() {

        return api_chepaiMapper.selectByPrimaryKey(1);
    }
}
